import Vue from 'vue'
import Router from 'vue-router'


Vue.use(Router)
import Signin from "@/view/signin.vue"
const Home =()=> import(/* webpackChunkName:"Home" */ "@/view/Home.vue")
const permissionman = ()=>import("@/view/System/permissionman")
const firstone =()=>import("@/view/juese/firstone")
const yonghu=()=>import("@/view/yonghu/yonghu")
const listlottry=()=>import("@/view/caipiaoguanli/listlottry")
const information=()=>import("@/view/caipiaoguanli/information")
export default new Router({
  routes: [
  	{
    	path:"/",
    	redirect:{name:"Home"}
    },
    {
      path: '/Home',
      name: 'Home',
      component: Home,
      children:[{
	      path:"permissionman",
	    	name:"权限管理",
	    	component:permissionman
      },{
      	path:"firstone",
      	name:"角色管理",
      	component:firstone
      },{
      	path:"yonghu",
      	name:"用户管理",
      	component:yonghu
      },{
      	path:"listlottry",
      	name:"彩票列表",
      	component:listlottry
      },{
      		path:"information",
      		component:information,
      		name:"双色球"
      	}]
    },
    
    {
    	path:"/Signin",
    	name:"Signin",
    	component:Signin
    }
  ]
})
